﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClientAppViaWebService.BaseLogicServiceRef  
{
    public partial class TObject
    {
        public static explicit operator ClientAppViaWebService.DivisionsLogicServiceRef.TObject(TObject obj)
        {
            return new ClientAppViaWebService.DivisionsLogicServiceRef.TObject
            {
                NAME = obj.NAME,
                ID = obj.ID,
                EXT_ID = obj.EXT_ID,
                CLASS_ID = obj.CLASS_ID,
                PARENT_ID = obj.PARENT_ID
            };
        }

        //public static explicit operator ClientAppViaWebService.DivisionsLogicServiceRef.TObject(TObject obj)
        //{
        //    return new ClientAppViaWebService.DivisionsLogicServiceRef.TObject
        //    {
        //        NAME = obj.NAME,
        //        ID = obj.ID,
        //        EXT_ID = obj.EXT_ID,
        //        CLASS_ID = obj.CLASS_ID,
        //        PARENT_ID = obj.PARENT_ID
        //    };
        //}
    }
}

